package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.TLikes;

/**
 * 点赞Mapper接口
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public interface TLikesMapper 
{
    /**
     * 查询点赞
     * 
     * @param likesId 点赞主键
     * @return 点赞
     */
    public TLikes selectTLikesByLikesId(Long likesId);

    /**
     * 查询点赞列表
     * 
     * @param tLikes 点赞
     * @return 点赞集合
     */
    public List<TLikes> selectTLikesList(TLikes tLikes);

    /**
     * 新增点赞
     * 
     * @param tLikes 点赞
     * @return 结果
     */
    public int insertTLikes(TLikes tLikes);

    /**
     * 修改点赞
     * 
     * @param tLikes 点赞
     * @return 结果
     */
    public int updateTLikes(TLikes tLikes);

    /**
     * 删除点赞
     * 
     * @param likesId 点赞主键
     * @return 结果
     */
    public int deleteTLikesByLikesId(Long likesId);

    /**
     * 批量删除点赞
     * 
     * @param likesIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTLikesByLikesIds(Long[] likesIds);
}
